class Enumeration
!!!189826.cpp!!!	Enumeration(in image : char)


        if (!instances_) {
        	instances_ = new InstancesVector();
        }


        instances_->push_back( NameValuePair( static_cast<enumClass*>(this), image ) );

        //#]
!!!189954.cpp!!!	size() : int


	return instances_->size();
!!!190082.cpp!!!	begin() : Enumeration::Iterator

       //#[ operation begin()
       InstancesVectorIterator it = instances_->begin();
       return Iterator( it );
       //#]
!!!190210.cpp!!!	end() : Enumeration::Iterator

   //#[ operation end()
   InstancesVectorIterator it = instances_->end();
   return Iterator( it );
   //#]
!!!190338.cpp!!!	first() : enumClass

   //#[ operation first()


   return *(instances_->front().value_);
   //#]
!!!190466.cpp!!!	fromOrdinal(in ordinalValue : byte) : enumClass

   //#[ operation fromOrdinal(unsigned char)


   return *((*instances_)[ordinalValue].value_);
   //#]
!!!190594.cpp!!!	fromString(in image : string, inout success : bool, inout enumValue : enumClass) : void

        //#[ operation fromString(string,bool,enumClass)
        success = false;

        for (InstancesVectorConstIterator value = instances_->begin(); value != instances_->end(); ++value) {
         	if (caseIndependentEqual( image, *(*value).image_ )) {
         		success = true;
         		enumValue = *((*value).value_);
         		return;
         	}
        }
!!!190722.cpp!!!	isOrdinalInRange(in ordinalValue : byte) : bool

   //#[ operation isOrdinalInRange(unsigned char)


   return ordinalValue < instances_->size();
   //#]
!!!190850.cpp!!!	last() : enumClass

   //#[ operation last()


   return *(instances_->back().value_);
   //#]
!!!190978.cpp!!!	operator !=(in other : Enumeration) : bool

   //#[ operation operator!=(Enumeration) const
   return ordinal_ != other.ordinal_;
   //#]
!!!191106.cpp!!!	operator <(in other : Enumeration) : bool

   //#[ operation operator<(Enumeration) const
   return ordinal_ < other.ordinal_;
   //#]
!!!191234.cpp!!!	operator <=(in other : Enumeration) : bool

   //#[ operation operator<=(Enumeration) const
   return ordinal_ <= other.ordinal_;
   //#]
!!!191362.cpp!!!	operator ==(in other : Enumeration) : bool

   //#[ operation operator==(Enumeration) const
   return ordinal_ == other.ordinal_;
   //#]
!!!191490.cpp!!!	operator >(in other : Enumeration) : bool

   //#[ operation operator>(Enumeration) const
   return ordinal_ > other.ordinal_;
   //#]
!!!191618.cpp!!!	operator >=(in other : Enumeration) : bool

   //#[ operation operator>=(Enumeration) const
   return ordinal_ == other.ordinal_;
   //#]
!!!191746.cpp!!!	operator [](in val : byte) : enumClass



	return fromOrdinal(val);
!!!191874.cpp!!!	ordinal() : byte

   //#[ operation ordinal() const
   return ordinal_;
   //#]
!!!192002.cpp!!!	predecessor() : enumClass

   //#[ operation predecessor() const
   return *((*instances_)[ordinal_ - 1].value_);
   //#]
!!!192130.cpp!!!	successor() : enumClass

   //#[ operation successor() const
   return *((*instances_)[ordinal_ + 1].value_);
   //#]
!!!192258.cpp!!!	toString() : string

   //#[ operation toString() const
   return *(*instances_)[ordinal_].image_;
   //#]
